package com.group.a.buffer;

import java.nio.ByteBuffer;

public class ReadWriteBuffer {
    private ByteBuffer read;
    private ByteBuffer write;

    public ReadWriteBuffer() {
        this.read = ByteBuffer.allocate(256);
        this.write = ByteBuffer.allocate(256);
    }

    public ByteBuffer getReadBuffer() {
        return read;
    }

    public ByteBuffer getWriteBuffer() {
        return write;
    }

}
